package org.refresh.groovy;

import org.refresh.core.intelligence.Constraint;

/******************************************************************************
 * Copyright (c) 2005, 2006 Jules White.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Jules White - initial API and implementation 
 ****************************************************************************/
public class GroovyConstraint implements Constraint {
	public static final String TYPE = "groovy";
	
	private String expression_;
	
	
	public GroovyConstraint(String expression) {
		super();
		expression_ = expression;
	}


	/**
	 * @return the expression
	 */
	public String getExpression() {
		return expression_;
	}


	/**
	 * @param expression the expression to set
	 */
	public void setExpression(String expression) {
		expression_ = expression;
	}


	public String getType() {
		return TYPE;
	}

}
